package com.wutong.hystrix_dashboard_server;

import com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.context.annotation.Bean;

/**
 * Create By Administrator on 2022/11/28.
 */
@SpringBootApplication
@EnableHystrixDashboard
//访问路径http://127.0.0.1:8866/hystrix-dashboard-server/hystrix
public class HystrixDashboardServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(HystrixDashboardServerApplication.class, args);
    }
}
